package teleradiologia.repository;

import java.util.List;


import teleradiologia.domain.Patient;

public interface PatientDao {

	// simple CRUD operations
	long create(Patient patient);	 // create
	Patient getById(long id);
	Patient getByPesel(String pesel);// read
	void update(Patient patient);	 // update
	void delete(Patient patient);	 // delete
	List<Patient> getAll();
	Patient getByIdPerson(long id);
}
